import type { IBannerItem, IFloorList } from "@/types/homeMock";
import { httpMock } from "./mockAxios";

/**
 * @description 获取首页轮播图数据api
 * @returns promise
 */
export const reqBannerList = ()=>{
    return httpMock<IBannerItem[]>('/banner','get')
}

/**
 * @description 获取首页楼层图数据api
 * @returns promise
 */
export const reqFloorList = ()=>{
    return httpMock<IFloorList>('/floor','get')
}